package br.com.twit4bus.gui;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridLayout;
import javax.swing.JLabel;
import javax.swing.SwingConstants;
import javax.swing.JTextField;

public class MenuLogin {

	private JFrame frmTwittbizLogin;
	private JTextField textField;
	private JTextField textField_1;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					MenuLogin window = new MenuLogin();
					window.frmTwittbizLogin.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public MenuLogin() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frmTwittbizLogin = new JFrame();
		frmTwittbizLogin.setTitle("Twitt4Biz - Login");
		frmTwittbizLogin.setBounds(100, 100, 450, 300);
		frmTwittbizLogin.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		JPanel panel = new JPanel();
		panel.setPreferredSize(new Dimension(10, 100));
		frmTwittbizLogin.getContentPane().add(panel, BorderLayout.SOUTH);
		panel.setLayout(new GridLayout(4, 1, 0, 0));
		
		JPanel panel_10 = new JPanel();
		panel.add(panel_10);
		
		JPanel panel_11 = new JPanel();
		panel.add(panel_11);
		
		JPanel panel_12 = new JPanel();
		panel.add(panel_12);
		
		JPanel panel_9 = new JPanel();
		panel.add(panel_9);
		
		JPanel panel_2 = new JPanel();
		panel_2.setPreferredSize(new Dimension(10, 100));
		frmTwittbizLogin.getContentPane().add(panel_2, BorderLayout.NORTH);
		
		JPanel panel_1 = new JPanel();
		frmTwittbizLogin.getContentPane().add(panel_1, BorderLayout.CENTER);
		panel_1.setLayout(new BorderLayout(0, 0));
		
		JPanel panel_3 = new JPanel();
		panel_3.setPreferredSize(new Dimension(120, 10));
		panel_1.add(panel_3, BorderLayout.WEST);
		panel_3.setLayout(new GridLayout(3, 0, 0, 0));
		
		JLabel lblLogin = new JLabel("Login:");
		lblLogin.setHorizontalAlignment(SwingConstants.RIGHT);
		panel_3.add(lblLogin);
		
		JPanel panel_6 = new JPanel();
		panel_3.add(panel_6);
		
		JLabel lblSenha = new JLabel("Senha:");
		lblSenha.setHorizontalAlignment(SwingConstants.RIGHT);
		panel_3.add(lblSenha);
		
		JPanel panel_4 = new JPanel();
		panel_1.add(panel_4, BorderLayout.CENTER);
		panel_4.setLayout(new BorderLayout(0, 0));
		
		JPanel panel_5 = new JPanel();
		panel_5.setPreferredSize(new Dimension(80, 10));
		panel_4.add(panel_5, BorderLayout.EAST);
		
		JPanel panel_7 = new JPanel();
		panel_4.add(panel_7, BorderLayout.CENTER);
		panel_7.setLayout(new GridLayout(3, 1, 0, 0));
		
		textField = new JTextField();
		textField.setName("txtLogin");
		panel_7.add(textField);
		textField.setColumns(10);
		
		JPanel panel_8 = new JPanel();
		panel_7.add(panel_8);
		
		textField_1 = new JTextField();
		textField_1.setName("txtSenha");
		panel_7.add(textField_1);
		textField_1.setColumns(10);
	}

}
